package com.qiguliuxing.dts.db.bean;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论者信息
 */
@Data
public class Commenter implements Serializable {
    private static final long serialVersionUID = 6377947945169319139L;

    private String commenterName;
    private String avatar;
    private String type;// "admin" 管理用户 "user" 普通用户
    private int commenterId;//评论者id

    private String commentContent; // 评论或回复内容
    private Integer comentId; // 评论或回复id
    private LocalDateTime addTime; // 评论或回复时间
    private String[] picList; // 评论或回复的图片

    public Commenter(String commenterName, String avatar, String type, int commenterId) {
        this.commenterName = commenterName;
        this.avatar = avatar;
        this.type = type;
        this.commenterId = commenterId;
    }

}
